// main.ts
import { createApp } from 'vue'
import zhLocale from 'element-plus/es/locale/lang/zh-cn'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
//文件在当前目录下的router下，自动扫秒里面的路由配置
import router from './router/router'
import App from './App.vue'

const app = createApp(App)
app.use(router)
app.use(ElementPlus,  { locale: zhLocale })
app.mount('#app')